body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
a{
    text-decoration: none;
    color: #222;
}
div{
    box-sizing: border-box;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/* 搜索模块 */
.serch-index{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -web-transform: translateX(-50%);
    /* 固定定位的盒子必须有宽度 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    z-index: 999;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.serch{
    position: relative;
    width: 26px;
    line-height: 26px;
    color: #666;
    font-size: 12px;
    padding-left: 25px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    border-radius: 5px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.serch::before{
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../imgs/sprite.png) no-repeat -59px -279px;
}
.user{
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}
.user::before{
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../imgs/sprite.png) no-repeat -59px -194px;
    margin: 4px auto -2px;
}
/* 焦点图 */
.focus{
    position: relative;
    padding-top: 44px;
    overflow: hidden;
}
 .focus img{
     width: 100%;
 }
 .focus ul{
     overflow: hidden;
     width: 700%;
     margin-left: -100%;
 }
 .focus ul li{
     /* 它的父亲ul相对于li来说是100%的 而不是700% */
     width: 14.285714%;
     float: left;
 }
 .focus ol{
     position: absolute;
     bottom: 5px;
     right: 5px;
     margin: 0;
 }
 .focus ol li{
     width: 5px;
     height: 5px;
     list-style: none;
     display: inline-block;
     background-color: #fff;
     border-radius: 2px;
     transition: all .3s ease;
 }
 .focus ol li.curent{
    width: 15px;
    
 }
 /* 局部导航栏 */
 .local-nav{
     display: flex;
     height: 64px;
     background-color: #fff;
     margin: 3px 4px;
     border-radius: 8px;
 }
 .local-nav li{
     flex: 1;
 }
 .local-nav a{
     display: flex;
     flex-direction: column;
     align-items: center;
    
 }
 .local-nav li [class^='local-nav-icon']{
     width: 32px;
     height: 32px;
     margin-top: 8px;
     background-color: pink;
     background: url(../imgs/localnav_bg.png) no-repeat 0 0;
     background-size: 32px auto;
 }
 .local-nav li .local-nav-icon-icon2{
     background-position: 0 -32px;
 }
 .local-nav li .local-nav-icon-icon3{
    background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon4{
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5{
    background-position: 0 -128px;
}
/* 主导航栏 */
nav{
    border-radius: 8px;
    margin: 0 4px 3px;
    overflow: hidden;
}
.nav-common{
    display: flex;
    height: 88px;
    background-color: pink;
}
.nav-common:nth-child(2){
    margin: 3px 0;
}
.nav-items{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items a{
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
.nav-items a:nth-child(1){
    border-bottom: 2px solid #fff;
}
.nav-items:nth-child(1) a{
    border: 0;  
}
.nav-items-hotel{
    background: url(../imgs/hotel.png) no-repeat bottom center;
    background-size: 121px ;
}
.nav-items-ticket{
    background: url(../imgs/ticket.png) no-repeat bottom center;
    background-size: 121px ;
}
.nav-items-places{
    background: url(../imgs/places.png) no-repeat bottom center;
    background-size: 121px ;
}
.nav-items:nth-child(-n+2){
    /* 给前两个盒子-n+2 */
    border-right: 2px solid #fff;
}

.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#FA5A55,#FA994D);
}
.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#4B90ED,#53BCED);
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#34C2A9,#6CD559);
}
/* 侧导航栏 */
.subnav-entry{
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    padding: 5px 0;
}
.subnav-entry li{
    flex: 20%;
}
.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry a [class^='subnav-entry-icon']{
    width: 28px;
    height: 28px;
    background-color: pink;
    background: url(../imgs/subnav-bg.png) no-repeat 5px 4px;
    background-size: 28px auto;
}
.subnav-entry a .subnav-entry-icon-icon2{
    background-position: 7px -28px;
}
.subnav-entry a .subnav-entry-icon-icon3{
    background-position: 7px -62px;
}
.subnav-entry a .subnav-entry-icon-icon4{
    background-position: 5.5px -322px;
}
.subnav-entry a .subnav-entry-icon-icon5{
    background-position: 5.5px -98px;
}
.subnav-entry a .subnav-entry-icon-icon6{
    background-position: 8px -162px;
}
.subnav-entry a .subnav-entry-icon-icon7{
    background-position: 5px -196px;
}
.subnav-entry a .subnav-entry-icon-icon8{
    background-position: 5.5px -131px;
}
.subnav-entry a .subnav-entry-icon-icon9{
    background-position: 5px -229px;
}
.subnav-entry a .subnav-entry-icon-icon10{
    background-position: 6px -288px;
}
/* 销售模块 */
.sales-box{
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2{
    text-indent: -999px;
    overflow: hidden;
}
.sales-hd h2::after{
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 79px;
    height: 15px;
    background: url(../imgs/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.getmore{
    position: absolute;
    top: 0;
    right: 5px;
    background: -webkit-linear-gradient(left,#FF506C,#FF6BC6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.getmore::after{
    content: '';
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.row{
    display: flex;
}
.row a{
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1){
    border-right: 1px solid #eee;
}
.row a img{
    width: 100%;
}
/* 底部导航 */
.footer{
    display: flex;
    margin: 4px 0;
    background-color: #fff;
}
.footer a{
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
[class^='footer-icon']{
    width: 20px;
    height: 20px;
    display: block;
    background: url(../imgs/sprite.png) no-repeat -58px -154px;
}
.footer-icon-icon2{
 background-position: -58px -175px;
}
.footer-icon-icon3{
    background-position: -58px -310px;
   }
/* 回到顶部 */
.backTop{
    display: none   ;
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: url(../imgs/backTop.png) no-repeat;
    background-size: 42px 42px;  
}